import http from './http'

export const getPlans = (param) => {
  return http({
    url: '/plan',
    method: 'get',
    params: param
  })
}

export const postPlan = (obj) => {
  return http({
    url: '/plan',
    method: 'post',
    data: obj
  })
}

export const delPlan = (obj) => {
  return http({
    url: '/plan',
    method: 'delete',
    data: obj
  })
}
